package com.example.patient.dto.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.List;

/**
 * @ClassName DiseaseListResp
 * @Author wengjt
 * @Date 2021/4/2016:08
 * @Description
 **/
@ApiModel
@Data
public class DiseaseListResp {
    @ApiModelProperty(value = "疾病列表")
    private List<Disease> list;
    @ApiModelProperty(value = "疾病总量")
    private Integer total;

    @ApiModel("疾病")
    @Data
    public static class Disease implements Serializable {
        @ApiModelProperty(value = "疾病Id")
        private Integer deId;
        @ApiModelProperty(value = "疾病名称")
        private String name;
    }
}
